﻿using System;
using System.Collections.Generic;
using System.Text;

namespace practice
{
    //修车厂
    class repair :Car 
    {
        public string RepairName;
        public string RepairAddress;
        public int RepairPhone;
        public void RepairInfo()
        {
            Console.WriteLine("维修厂的名称：{0}，维修厂的地址：{1}，维修厂的电话号码：{2}",this .RepairName ,this .RepairAddress ,this .RepairPhone );
        }

    }
}
